v3.0.0-dev.1 — target solidart v3, upgrade deps, migrate to analyzer 12#100
Merged
Conversation
…alyzer 12 - Bump solid_annotations & solid_generator to 3.0.0-dev.1 - Point flutter_solidart at ^3.0.0-dev.1 (examples + integration_tests); raise the workspace Dart SDK floor to ^3.10.0 - Upgrade analyzer ^12.0.0 (+ dart_style ^3.1.8, build ^4.0.6, build_runner ^2.15.0, build_test ^3.5.15, meta ^1.18.0, test ^1.31.0, provider ^6.1.5, very_good_analysis ^10.3.0, http ^1.6.0, uuid ^4.5.3) - Adapt the generator to analyzer 12's primary-constructor AST reshape (name/members/leftBracket/typeParameters moved onto namePart/body) via a single compat extension in lib/src/ast_compat.dart - Remove now-redundant `SolidartConfig.autoDispose = false` — v3 defaults it to false; dropped from example sources and skill docs - publish.yml: also match prerelease (-dev.N) tags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion release for solidart / flutter_solidart v3.0.0-dev.1. Bumps this repo's packages to a matching dev, points everything at the v3 dev line, upgrades the rest of the pub.dev deps, and drops the now-redundant auto-dispose opt-out.
Changes
Version
solid_annotations&solid_generator:2.0.0+1→3.0.0-dev.1(+ CHANGELOG entries)Point at solidart v3
flutter_solidart→^3.0.0-dev.1across integration_tests + all 5 examples (solidart 3.0.0-dev.1follows transitively)solid_annotationsdep insolid_generator→^3.0.0-dev.1^3.9.2→^3.10.0(required by solidart v3)Dependency upgrades
analyzer ^12.0.0,dart_style ^3.1.8,build ^4.0.6,build_runner ^2.15.0,build_test ^3.5.15,meta ^1.18.0,test ^1.31.0,provider ^6.1.5,very_good_analysis ^10.3.0,http ^1.6.0,uuid ^4.5.3Generator: analyzer 12 migration
name/members/leftBracket/typeParametersmoved ontonamePart/body). Adapted via a single compat extension —packages/solid_generator/lib/src/ast_compat.dart— wired into the 6 affected files, so the 30+ offset-sensitive call sites and their behavior stay unchanged.Remove redundant
SolidartConfig.autoDispose = falseautoDisposetofalse, so the manual opt-out is a no-op. Removed from the 4 examplesource/main.dart(+ now-unusedflutter_solidartimport;lib/regenerated) and the skill docs (SKILL.md,AGENTS.md,third-party-packages.md,troubleshooting.md). Kept in the v2-pinned eval fixtures.CI/publish
publish.yml: also match prerelease-dev.Ntags so a…-v3.0.0-dev.1tag triggers publish.Notable constraints
flutter_testpinstest_api, cappingtestat1.31.0, which requiresanalyzer <13. So 13/14 are unreachable in this workspace until Flutter bundles a newertest_api. 12.1.0 is the true latest.Verification
All
ci.ymlsteps pass locally:dart format·dart analyze --fatal-infos· golden-outputs analyze · solid_annotations analyze ·solid_generatortests (281) · integration tests (11, against flutter_solidart v3).Regenerating all 5 examples from source under the new toolchain produces output byte-identical to
mainexcept theSolidartConfig.autoDisposeremoval — every.g.dart/controller/page is unchanged, andsolidart_example(no autoDispose) regenerates with a zero-line diff.